package com.team.arms.xitong.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Huazige
 * @since 2022-06-25
 */
@Getter
@Setter
@TableName("x_data_mamage")
@ApiModel("系统管理-数据")
public class DataMamage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("数据编号")
    @TableId(value = "data_id", type = IdType.ASSIGN_ID)
    private String dataId;

    @ApiModelProperty("数据类别")
    private String dataType;

    @ApiModelProperty("加密状态")
    private String encryptionStatus;

    @ApiModelProperty("备份状态")
    private String backupStatus;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "operate_time",fill = FieldFill.INSERT)
    private LocalDateTime operateTime;

    @ApiModelProperty("操作人员")
    private String operatePerson;

    @ApiModelProperty("是否删除")
    private String isDelete;

    @ApiModelProperty("压缩状态")
    private String pressStatus;


}
